package com.woniu.park.dao;

import com.woniu.park.pojo.ParkingState;
import com.woniu.park.pojo.ParkingStateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ParkingStateMapper {
    long countByExample(ParkingStateExample example);

    int deleteByExample(ParkingStateExample example);

    int deleteByPrimaryKey(Integer stateId);

    int insert(ParkingState record);

    int insertSelective(ParkingState record);

    List<ParkingState> selectByExample(ParkingStateExample example);

    ParkingState selectByPrimaryKey(Integer stateId);

    int updateByExampleSelective(@Param("record") ParkingState record, @Param("example") ParkingStateExample example);

    int updateByExample(@Param("record") ParkingState record, @Param("example") ParkingStateExample example);

    int updateByPrimaryKeySelective(ParkingState record);

    int updateByPrimaryKey(ParkingState record);
}